package com.embhealth.service;

import com.embhealth.entity.PageResult;
import com.embhealth.entity.QueryPageBean;
import com.embhealth.entity.Result;
import com.embhealth.pojo.Setmeal;

import java.util.List;
import java.util.Map;

//服务接口
public interface SetmealService {
    public void add(Setmeal setmeal, Integer[] checkgroupIds);
    public void edit(Setmeal setmeal, Integer[] checkgroupIds);
    public PageResult findPage(QueryPageBean queryPageBean);
    public Setmeal findById(Integer id);
    public List<Integer> findCheckGroupIdsBySetmealId(Integer id);
    public void delete(Integer id);
    public List<Setmeal> findAll();
    public List<Map<String, Object>> findSetmealCount();
    public Map<String, Object> findSetmealIncome();
}
